import { App, useAttrs } from "vue";

import {
  Modal,
  Table,
  Menu,
  Input,
  Form,
  Card,
  Checkbox,
  Radio,
  Tag,
  Collapse,
  Badge,
  Cascader,
  Tooltip,
  Spin,
  Row,
  Col,
  Tabs,
  Popover,
  Empty,
  Button,
  ConfigProvider,
} from "ant-design-vue";

export function setupAntd(app: App<Element>) {
  app
    .use(Tabs)
    .use(Row)
    .use(Col)
    .use(Spin)
    .use(Tooltip)
    .use(Cascader)
    .use(Badge)
    .use(Form)
    .use(Input)
    .use(Modal)
    .use(Table)
    .use(Menu)
    .use(Card)
    .use(Checkbox)
    .use(Radio)
    .use(Tag)
    .use(Popover)
    .use(Empty)
    .use(Collapse)
    .use(Button)
    .use(ConfigProvider);
}
